package org.jeecg.modules.nurse_user_orders_refund.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 用户订单退款申请
 * @Author: jeecg-boot
 * @Date: 2024-06-14
 * @Version: V1.0
 */
@Data
@TableName("nurse_user_orders_refund")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "nurse_user_orders_refund对象", description = "用户订单退款申请")
public class NurseUserOrdersRefund implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 退款理由
     */
    @Excel(name = "退款理由", width = 15)
    @ApiModelProperty(value = "退款理由")
    private String reason;
    /**
     * 退款详情
     */
    @Excel(name = "退款详情", width = 15)
    @ApiModelProperty(value = "退款详情")
    private String description;
    /**
     * 订单ID
     */
    @Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private String userId;
    /**
     * 回复
     */
    @Excel(name = "回复", width = 15)
    @ApiModelProperty(value = "回复")
    private String reply;
    /**
     * 退款商品
     */
    @Excel(name = "退款商品", width = 15)
    @ApiModelProperty(value = "退款商品")
    private String goodsName;
    /**
     * 护理类型
     */
    @Excel(name = "护理类型", width = 15, dicCode = "nurse_type")
    @Dict(dicCode = "nurse_type")
    @ApiModelProperty(value = "护理类型")
    private String nurseType;
    /**
     * 状态
     */
    @Excel(name = "状态", width = 15, dicCode = "nurse_refund_type")
    @Dict(dicCode = "nurse_refund_type")
    @ApiModelProperty(value = "状态")
    private String status;
    /**
     * 退款金额
     */
    @Excel(name = "退款金额", width = 15)
    @ApiModelProperty(value = "退款金额")
    private BigDecimal amt;
}
